<?php
/**
 * 跃飞科技版权所有 @2017
 * User: 钟贵廷
 * Date: 2017/5/23
 * Time: 16:15
 */
namespace app\admin\validate;

use think\Validate;

class AdminMember extends Validate
{
    protected $rule = [
        'username'  =>  'require',
        'password' =>  'require',
    ];

    protected $message  =   [
        'username.require' => '管理员名称必填',
        'password.require' => '密码必填',
    ];
}